<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={dede:global.cfg_soft_lang/}" />
<title>{dede:field.title/}_{dede:global.cfg_webname/} | 尚垣贸易有限公司 </title>
<link rel="Shortcut Icon" href="favicon.ico" type="image/x-icon" />
<meta name="keywords" content="{dede:field.keywords/}" />
<meta name="description" content="{dede:field.description function='html2text(@me)'/}" />
<link rel="stylesheet" type="text/css" href="{dede:global.cfg_templets_skin/}/inc/style.css" />
<script type="text/javascript" src="{dede:global.cfg_templets_skin/}/inc/jquery-1.7.2.min.js"></script>
<script language="javascript" type="text/javascript" src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></script>

<!--[if lt IE 9]>
<script type="text/javascript" src="/inc/html5.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="{dede:global.cfg_templets_skin/}/inc/layout_shop.css" />
<script type="text/javascript" src="{dede:global.cfg_templets_skin/}/inc/jquery.imagesloaded.min.js"></script>
<script type="text/javascript" src="{dede:global.cfg_templets_skin/}/inc/jquery.colorbox.js"></script>
<style>
html, body {
    height: auto;
}
body{background:#f7dec6;padding:0;}
</style>
</head>

<body>

<div class="popbox">
	<article class="edittext">
	{dede:field.body/}
	</article>	
</div>

<script type="text/javascript">
$(function(){
	$('.edittext img').imagesLoaded(function(e){
		var y = $(document.body).height() < 580 ? 580 : $(document.body).height();
		var x = $(document).width();
		parent.$.colorbox.resize({innerWidth:x+10, innerHeight:y+10});
	});

	$(".edittext img").each(function(){  
		if($(this).width() > $(this).parents('.edittext').width()){  
			$(this).width("100%");
			$(this).height("auto");
		}
	});

});
</script>
</body>
</html>